/*
与后台交互模块
 */
import ajax from './ajax'

const BASE_URL = '/api_gif';

// api
export const reqArticleType = function () {
    return ajax(BASE_URL + '/list/api_getArticleType', null, 'POST')
};

export const reqArticleList = function (body) {
    return ajax(BASE_URL + '/list/api_getArticleList', body, 'POST')
};

export const reqArticleListType = function (body) {
    return ajax(BASE_URL + '/list/api_getArticleTypePage', body, 'POST')
};

export const reqArticleDetail = function (body) {
    return ajax(BASE_URL + '/detail/api_getArticleDetail', body, 'POST')
};